package com.dk.pojo;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Accessors(chain = true)
@ApiModel(value="评论对象", description="")
@Document(collection = "comment")
@Data
public class Comment {

    private String userId;

    private String message;

    private Long carId;

    private Date date;

}
